package leetcode.D200.T105;

import util.ListUtil;
import util.TreeNode;
import util.TreeUtil;

public class M105 {
    public static void main(String[] args) {
        int[] preorder = ListUtil.parseIntArray("[3,9,20,15,7]");
        int[] inorder = ListUtil.parseIntArray("[9,3,15,20,7]");
        TreeNode root = new Solution().buildTree(preorder, inorder);
        TreeUtil.printLevel(root);
    }
}
